package com.gccloud.design.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName : StfBusinessProcessVo
 * @Author : sulei
 * @Date : 2021/6/8 9:17
 * @Description :
 */
@Data
public class StfBusinessProcessVo {

    @ApiModelProperty(notes = "主键id")
    private String id;

    @ApiModelProperty(notes = "业务类型id")
    private Integer businessTypeId;

    @ApiModelProperty(notes = "描述")
    private String memo;

    @ApiModelProperty(notes = "流程名称")
    private String flowName;

    @ApiModelProperty(notes = "流程类型")
    private String type;

    @ApiModelProperty(notes = "流程编码")
    private String code;

    @ApiModelProperty(notes = "创建用户ID")
    private String createBy;

    @ApiModelProperty(notes = "创建用户姓名")
    private String createName;

    @JsonFormat(
            shape = Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @ApiModelProperty(notes = "创建时间")
    private Date createDate;

    @ApiModelProperty(notes = "全局表单id")
    private String globalFormId;

}
